import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Scanner;

public class Answer3 {
    //拼三角
    // 下面该做法仅限与该题
    public static void main(String[] args) throws Exception{


       /* BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(bf.readLine());
        while(t-- != 0){
            String[] input = bf.readLine().split(" ");
            int[] arr = new int[6];
            for(int i = 0; i < 6; i++){
                arr[i] = Integer.parseInt(input[i]);
            }
            Arrays.sort(arr);

            boolean canFormTriangles = arr[0] + arr[1] > arr[2] && arr[3] + arr[4] > arr[5] ||
                    arr[0] + arr[2] > arr[3] && arr[1] + arr[4] > arr[5]
                    || arr[0] + arr[3] > arr[4] && arr[1] + arr[2] > arr[5]
                    || arr[0] + arr[4] > arr[5] && arr[1] + arr[2] > arr[3];
            if(canFormTriangles){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }*/

    }
}
